@extends('home.seller.layout.index')

@section('content')
	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span><i class="icon-table"></i> 商品详情</span>
        </div>
        <div class="mws-panel-body no-padding">
            <table class="mws-table">
                <tbody>
                    <tr>
                        <td>商品名称</td>
                        <td>{{ $data2['title'] }}</td>
                    </tr>
                     <tr>
                        <td>商品分类</td>
                        <td>{{ $class1 }} - {{ $class2 }} - {{ $class3 }}</td>
                    </tr>
                    <tr>
                        <td>商品属性</td>
                        <td>{!! $data2['attrbute'] !!}</td>
                    </tr>
                     <tr>
                        <td>商品详情</td>
                        <td>{{ $data2['details'] }}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="mws-panel grid_4 mws-collapsible" style="float:left">
    	<div class="mws-panel-header">
        	<span>商品评论</span>
	        <div class="mws-collapse-button mws-inset"><span></span></div>
        </div>
        <div class="mws-panel-inner-wrap">
	        <div class="mws-panel-body" style="padding-left:30%">
	            <a class="mws-stat" href="/home/seller/goods/evaluate?gid={{ $data2['gid'] }}" style="height:100px;">
                    <span class="mws-stat-icon icol32-page-edit" style="width:60px"></span>
                    <span class="mws-stat-content" style="width:120px;text-align:center;">
                        <span class="mws-stat-title">评论总条数</span>
                        <span class="mws-stat-value">{{ $num }}</span>
                    </span>
                </a>
	        </div>
        </div>
    </div>
    <div class="mws-panel grid_4 mws-collapsible" style="float:right">
        <div class="mws-panel-header">
            <span>商品详情图1</span>
            <div class="mws-collapse-button mws-inset"><span></span></div>
        </div>
        <div class="mws-panel-inner-wrap">
            <div class="mws-panel-body">
                <img src="{{ $data2['image1'] }}" alt="图片加载失败">
            </div>
        </div>
    </div>
    <div class="mws-panel grid_4 mws-collapsible" style="clear:both">
    	<div class="mws-panel-header">
        	<span>商品详情图2</span>
	        <div class="mws-collapse-button mws-inset"><span></span></div>
        </div>
        <div class="mws-panel-inner-wrap">
	        <div class="mws-panel-body">
	        	<img src="{{ $data2['image2'] }}" alt="图片加载失败">
	        </div>
        </div>
    </div>
    <div class="mws-panel grid_4 mws-collapsible" style="float:right">
    	<div class="mws-panel-header">
        	<span>商品详情图3</span>
	        <div class="mws-collapse-button mws-inset"><span></span></div>
        </div>
        <div class="mws-panel-inner-wrap">
	        <div class="mws-panel-body">
	        	<img src="{{ $data2['image3'] }}" alt="图片加载失败">
	        </div>
        </div>
    </div>
    <div class="mws-panel grid_4 mws-collapsible" style="clear:both">
    	<div class="mws-panel-header">
        	<span>商品详情图4</span>
	        <div class="mws-collapse-button mws-inset"><span></span></div>
        </div>
        <div class="mws-panel-inner-wrap">
	        <div class="mws-panel-body">
	            <img src="{{ $data2['image4'] }}" alt="图片加载失败">
	        </div>
        </div>
    </div>
    <div class="mws-panel grid_4 mws-collapsible" style="float:right">
    	<div class="mws-panel-header">
        	<span>商品详情图5</span>
	        <div class="mws-collapse-button mws-inset"><span></span></div>
        </div>
        <div class="mws-panel-inner-wrap">
	        <div class="mws-panel-body">
	            <img src="{{ $data2['image5'] }}" alt="图片加载失败">
	        </div>
        </div>
    </div>
@endsection